<template>
  <div>
    <!--<div class="address">
      <div>
        <p>您当前所在位置</p>
        <router-link to="/" class="link">订单详细-个单</router-link>
      </div>
    </div>-->
    <div class="roder-details">
      <a-tabs default-active-key="1">
        <a-tab-pane key="1" tab="产品详情">
          <div class="info">
            <h3 class="title">定制参数详细</h3>
            <div class="list">
              <div class="list-div">
                <div>
                  <p>客户姓名</p>
                  <span>{{ productDetail.customerName }}</span>
                </div>
                <div>
                  <p>客户性别</p>
                  <span>{{ productDetail.sex == 0 ? '男性' : '女性' }}</span>
                </div>
                <!--<div>
                    <p>服装版型</p>
                    <span>{{productDetail.productCode}}</span>
                </div>-->
                <div>
                  <p>产品名称</p>
                  <span>{{ productDetail.productName }}</span>
                </div>

                <!--<div>
                    <p>工艺类型</p>
                    <span>全毛衬</span>
                </div>-->

              </div>
            </div>

            <h4 class="title2">面料与辅料</h4>
            <div class="list" style="margin-bottom: 20px;">
              <div class="list-div">
                <div v-for="(item,key) in productDetail.fabricInfoList" :key="item.id">
                  <p v-if="item.isMianFu=='0'">面料</p>
                  <p v-if="item.isMianFu=='1'">里布</p>
                  <p v-if="item.isMianFu=='2'">底领里</p>
                  <span>{{ item.fabricCode }}</span>
                </div>

                <div>
                  <p>面料备注</p>
                  <span>{{ productDetail.fabricRemark }}</span>
                </div>

                <div>
                  <p>里布</p>
                  <span>{{ productDetail.libuName }}</span>
                </div>

                <div>
                  <p>底领呢</p>
                  <span>{{ productDetail.dilinniName }}</span>
                </div>
                <div>
                  <p>纽扣</p>
                  <span>{{ productDetail.buttonName }}</span>
                </div>
              </div>
            </div>


            <h4 class="title2">款式与工艺</h4>
            <div class="list" style="margin-bottom: 20px;">
              <div class="list-div">
                <div v-for="(item,key) in productDetail.categoryInfo" :key="item.id">
                  <p>{{ item.smallTemplateName }}</p>
                  <span>{{ item.categoryName }}</span>
                </div>

              </div>
            </div>

            <h4 class="title2">成衣尺寸</h4>
            <div class="list">
              <div class="list-div">
                <div v-for="(proSize,key) in productDetail.cheng" :key="proSize.id">
                  <p>{{ proSize.sizeName }}</p>
                  <span>{{ proSize.bodysizeValue }}{{ proSize.unit }}</span>
                </div>
              </div>
            </div>

            <h4 class="title2">净体尺寸</h4>
            <div class="list">
              <div class="list-div">
                <div v-for="(proSize,key) in productDetail.jing" :key="proSize.id">
                  <p>{{ proSize.sizeName }}</p>
                  <span>{{ proSize.bodysizeValue }}{{ proSize.unit }}</span>
                </div>
              </div>
            </div>

            <h4 class="title2">绣字</h4>
            <div class="list">
              <div class="list-div">
                <!--                <div>
                                  <p>品类</p>
                                  <span>{{ productDetail.productName }}</span>
                                </div>-->

                <div v-if="productDetail.xiuziType == '无绣字'">
                  <p>无绣字</p>
                </div>

                <div v-if="productDetail.xiuziType == '文字'">
                  <p>绣字一</p>
                  <span class="b">{{ productDetail.xiuziOneNeirong }}</span>
                </div>

                <div v-if="productDetail.xiuziType == '文字'">
                  <p>绣字二</p>
                  <span class="b">{{ productDetail.xiuziTwoNeirong }}</span>
                </div>

                <div v-if="productDetail.xiuziType == '图片'">
                  <p>图片编号</p>
                  <span>{{ productDetail.xiuziImg }}</span>
                </div>

                <div>
                  <p>绣字颜色</p>
                  <span>{{ productDetail.xiuziColor }}</span>
                </div>

                <div>
                  <p>绣字部位</p>
                  <span>{{ productDetail.xiuziWeizhi }}</span>
                </div>

                <div v-if="productDetail.xiuziType == '文字'">
                  <p>绣字字体</p>
                  <span>{{ productDetail.xiuziZiti }}</span>
                </div>

                <div v-if="!!productDetail.zidingyiImg">
                  <p>自定义图片</p>
                  <img
                    style="width: 100px; height: 100px;margin-right:10px"
                    :src="productDetail.zidingyiImg"
                    fit="fit"></img>
                </div>
                <div>

                </div>

              </div>
            </div>

            <h4 class="title2">撞色</h4>
            <div class="list">
              <div class="list-div">
                <div v-for="(item,key) in productDetail.contrastcolorList" :key="item.id">
                  <p>{{ item.contrastColorName }}</p>
                  <span>{{ item.colorName }}</span>
                </div>
              </div>
            </div>

            <h3 class="title">收费服务</h3>
            <el-table :data="orderFujiaList" style="width: 100%" :border="true"
                      :header-cell-style="{'text-align':'center'}"
                      :cell-style="{'text-align':'center'}">

              <el-table-column label="序号" width="50">
                <template slot-scope="scope">
                  {{ scope.$index + 1 }}
                </template>
              </el-table-column>
              <el-table-column label="品类名称" prop="cateogryName"></el-table-column>
              <el-table-column label="产品名称" prop="productName"></el-table-column>
              <el-table-column label="收费项目" prop="costName"></el-table-column>
              <el-table-column label="金额(元)" prop="price"></el-table-column>
            </el-table>


            <div class="btns" style="justify-content: flex-start;">
              <!--<a class="b1" style="width:90px;margin-top: 20px;margin-right: 20px;">导出</a>-->
              <a class="b3" @click="goback" style="width:90px;margin-top: 20px;">返回</a>
            </div>

          </div>
        </a-tab-pane>
        <a-tab-pane key="3" tab="产品状态更新">
          <div class="info">
            <h3 class="title">产品状态更新</h3>
            <a-form>
              <a-form-item label="选择状态">
                <a-select v-model="updateProductStatus" style="width:150px" placeholder="请选择产品状态">
                  <a-select-option v-for="item in ProStstus" :value="item.dataname">
                    {{ item.dataname }}
                  </a-select-option>
                </a-select>
              </a-form-item>

              <a-form-item label="生产流水号">
                <a-input v-model="wrater" placeholder="请输入流水号" style="width:150px"></a-input>
              </a-form-item>
            </a-form>

            <a-form>
              <a-form-item label="备注信息">
                <a-textarea :rows="4" style="width:300px" v-model="proRemark">
                </a-textarea>
              </a-form-item>
            </a-form>
            <a-button @click="updateProductStatusFunc" type="primary">更新产品状态</a-button>

            <h3 class="title">产品状态</h3>

            <!--表格化-->
            <el-table :stripe="true" :border="true" :data="productlistTracking">
              <el-table-column
                align="center"
                label="序号"
                type="index"
                width="50">
              </el-table-column>

              <el-table-column
                :show-overflow-tooltip="true"
                align="center"
                prop="productName"
                label="产品名称"
              >
              </el-table-column>

              <el-table-column
                :show-overflow-tooltip="true"
                align="center"
                prop="statusName"
                label="产品状态"
              >
              </el-table-column>

              <el-table-column
                :show-overflow-tooltip="true"
                align="center"
                prop="createTime"
                label="更新时间"
              >
              </el-table-column>

              <el-table-column
                :show-overflow-tooltip="true"
                align="center"
                prop="remark"
                label="备注信息"
              >
              </el-table-column>

              <el-table-column
                :show-overflow-tooltip="true"
                align="center"
                prop="wrater"
                label="业务流水号"
              >
              </el-table-column>
            </el-table>

<!--            <div style="margin-top: 10px" v-show="item.productId == $route.query.product"
                 v-for="(item,key) in productlistTracking" :key="item.id">
              <h4 class="title10">{{ item.createTime }}</h4>
              <div class="text11">
                <p>产品名称:</p>
                <div>
                  <h5>{{ item.productName }}</h5>
                  <p>时间：{{ item.createTime }}</p>
                  <p v-show="item.statusName != null">产品状态：{{ item.statusName }}</p>
                  <p v-show="item.status == 4">产品状态：售后</p>
                  <p>备注信息：{{ item.remark }}</p>
                  &lt;!&ndash;<p>备注信息：{{item.remark}}</p>&ndash;&gt;
                </div>
              </div>
            </div>-->
          </div>
        </a-tab-pane>

        <a-tab-pane key="4" tab="售后记录跟踪">
          <div class="info">
            <h4 class="title1" style="font-weight: 700;width: auto;">售后订单列表</h4>
            <div class="table-css">
              <a-table class="table1" :row-selection="rowSelection" lign="center" :columns="afterTitle"
                       :loding="true"
                       :pagination="pagination"
                       @change="handleTableChange"
                       :data-source="afterlist">
                <router-link slot="k6" slot-scope="text,record"
                             :to="{path:'/orderCenter/AfterSaleSingle',query:{id:record.id,afterCode:record.afterCode,orderSn:$route.query.order}}"
                             style="color:#C49D18">查看详情
                </router-link>
              </a-table>
            </div>
          </div>
        </a-tab-pane>
      </a-tabs>

    </div>

  </div>
</template>

<script>
import {getAction} from "../../api/manage";
// @ is an alias to /src
import locale from 'ant-design-vue/es/date-picker/locale/zh_CN';

// 这是订单的所有面料列表
const fabriclist = [
  {
    title: '序号',
    dataIndex: '',
    key: 'rowIndex',
    width: 60,
    align: 'center',
    customRender: function (t, r, index) {
      return parseInt(index) + 1
    }
  },
  {
    title: '面料',
    align: "center",
    dataIndex: 'fabricName'
  },
  {
    title: '米数',
    align: "center",
    dataIndex: 'mishu'
  },
  {
    title: '标准单价',
    align: "center",
    dataIndex: 'fabricPrice'
  },
  {
    title: '客户折扣',
    align: "center",
    dataIndex: 'kehuzk',
    customRender: function (text) {
      if (text == '1') {
        return '100%'
      } else {
        return (Number(text) * 100) + "%"
      }
    }
  },
  {
    title: '折后单价',
    align: "center",
    dataIndex: 'afterPrice'
  },
  {
    title: '总金额',
    align: "center",
    dataIndex: 'allPrice'
  },
];

// 加工费用列表
const allprolist = [
  {
    title: '序号',
    dataIndex: '',
    key: 'rowIndex',
    width: 60,
    align: 'center',
    customRender: function (t, r, index) {
      return parseInt(index) + 1
    }
  },
  {
    title: '产品名称',
    align: "center",
    dataIndex: 'productName'
  },
  {
    title: '品类',
    align: "center",
    dataIndex: 'pingleiName'
  },
  {
    title: '工艺类型',
    align: "center",
    dataIndex: 'gyname'
  },
  {
    title: '性别',
    align: "center",
    dataIndex: 'sex',
    customRender: function (text) {
      if (text == '0') {
        return '男'
      } else if (text == '1') {
        return '女'
      }
    }
  },
  {
    title: '标准单价',
    align: "center",
    dataIndex: 'zheqianPrice'
  },
  {
    title: '客户折扣',
    align: "center",
    dataIndex: 'khzk',
    customRender: function (text) {
      if (text == '1') {
        return '100%'
      } else {
        return (Number(text) * 100) + "%"
      }
    }
  },
  {
    title: '折后单价',
    align: "center",
    dataIndex: 'zhehouPrice'
  },
  {
    title: '总金额',
    align: "center",
    dataIndex: 'afterzhekouPrice'
  },
];

// 售后列表表头
const afterTitle = [
  {
    title: '序号',
    dataIndex: '',
    key: 'rowIndex',
    width: 60,
    align: 'center',
    customRender: function (t, r, index) {
      return parseInt(index) + 1
    }
  },
  {
    title: '售后单号',
    align: "center",
    dataIndex: 'afterCode'
  },
  {
    title: '申请时间',
    align: "center",
    dataIndex: 'createTime'
  },
  {
    title: '售后金额(元)',
    align: "center",
    dataIndex: 'afterPrice'
  },
  {
    title: '售后类型',
    align: "center",
    dataIndex: 'afterSalesType',
    customRender: function (text) {
      if (text == '0') {
        return '退货'
      } else if (text == '1') {
        return '换货'
      } else if (text == '2') {
        return '返修'
      } else if (text == '3') {
        return '重做'
      }
    }
  },
  /*{
    title: '状态',
    align: "center",
    dataIndex: 'status'
  },*/
  {
    title: '操作',
    align: "center",
    scopedSlots: {
      customRender: 'k6'
    }
  }
];

// 加价列表表头
const jiajia = [
  {
    title: '序号',
    dataIndex: '',
    key: 'rowIndex',
    align: 'center',
    customRender: function (t, r, index) {
      return parseInt(index) + 1
    }
  },
  {
    title: '产品名称',
    align: "center",
    dataIndex: 'productName'
  },
  {
    title: '参数名称',
    align: "center",
    dataIndex: 'costName'
  },
  {
    title: '总金额',
    align: "center",
    dataIndex: 'price'
  },
];

// 订单产品列表表头
const productList = [
  {
    title: '序号',
    dataIndex: '',
    key: 'rowIndex',
    align: 'center',
    customRender: function (t, r, index) {
      return parseInt(index) + 1
    }
  },
  {
    title: '产品名称',
    align: "center",
    dataIndex: 'productName'
  },
  {
    title: '产品编号',
    align: "center",
    dataIndex: 'productCode'
  },
  {
    title: '产品数量',
    align: "center",
    dataIndex: 'numbers'
  },
  {
    title: '品类',
    align: "center",
    dataIndex: 'pingleiName'
  },
  {
    title: '状态',
    align: "center",
    dataIndex: 'gysName',
    customRender: function (text) {
      if (text == null) {
        return '未派'
      } else {
        return text
      }
    }
  },
  {
    title: '操作',
    align: "center",
    scopedSlots: {customRender: 'proAction'}
  },
]

export default {
  // name: 'MyAfterSales',
  data() {
    return {
      proRemark: '', // 更新产品状态备注
      ProStstus: [], // 产品状态列表
      orderFujiaList: [], // 产品已选中附加条件列表
      selectProid: '', // 选中的产品id
      producelistdata: [], // 产品列表
      jiajia,
      jiajiaList: [], // 加价列表
      changePrice: '',// 调价金额
      visible: false, // 调价弹框是否显示
      visible2: false, // 供应商弹框是否显示
      gyslist: [], // 查询到的供应商列表
      gysid: undefined, // 供应商ID
      allprolist,
      fabriclist,
      remark: '', // 备注
      orderTrackingList: [], // 订单跟踪列表
      updateProductStatus: undefined,// 更新产品状态
      wrater: '', // 流水号
      updateProductID: undefined, // 要更新产品的ID
      productDetail: {}, // 产品详情
      url: {
        detail: '/teamOrder/getDetail', // 产品详情
        gysList: '/fabricCenter/selectGYS', // 供应商列表
        orderDetail: '/orderCenter/SingleOrderDetail', // 个订订单详情
        rejectedOrder: "/orderCenter/rejectedOrder", // 驳回
        selectGYS: "/orderCenter/selectGYS", // 产品选择供应商（更新产品的供应商）
        getOrderTracking: "/orderCenter/getFabricOrderTracking", // 订单状态跟踪
        listtrackingProduct: "/orderCenter/listtrackingProduct", // 产品状态跟踪
        listTeamAfter: '/orderCenter/listTeamAfter', // 售后订单列表
        pricing: "/orderCenter/pricing", // 订单调价
        orderNowSingle: '/orderCenter/orderNowSingle', // 个订立即接单
        updateProductStatus: '/orderCenter/updateProductStatus', // 更新产品状态
        listJiajia: '/fabricAndOther/listJiajia', // 查询所有加价服务
        productList: '/fabricAndOther/productList', // 订单下产品列表
        listFujia: '/fabricAndOther/listFujiaByProduct', // 订单附加条件列表
        listProductStatus: '/fabricAndOther/listProductStatus', // 获取产品状态
      },
      afterTitle,
      productList,
      afterlist: [], // 售后订单列表
      // 分页
      pagination: {
        current: '',
        total: 0,
        pageSize: 10,//每页中显示10条数据
      },
      orderDetail: {},// 个订订单详情
      productlistTracking: [],// 产品状态跟踪
      locale,
      selectedRowKeys: [],
      tab1Data: [{
        id: 1,
        name: '无需试穿'
      },
        {
          id: 2,
          name: '半成品试穿'
        },
        {
          id: 3,
          name: '毛坯半成品试穿'
        },
      ],
      tab1Idx: -1,
      tab2Data: [{
        id: 1,
        name: '常规',
        hoveName: '7个工作日'
      },
        {
          id: 2,
          name: '加急',
          hoveName: '5个工作日200元'
        },
        {
          id: 3,
          name: '特急',
          hoveName: '3个工作日400元'
        },
      ],
      tab2Idx: -1,
      tab3Data: [{
        id: 1,
        name: '来款/样式'
      },
        {
          id: 2,
          name: '改款'
        },
      ],
      tab3Idx: -1,
      tab4Data: [{
        id: 1,
        name: '派定制'
      },],
      tab4Idx: -1,
    }
  },
  computed: {
    rowSelection() {
      return {
        onChange: (selectedRowKeys, selectedRows) => {
          console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
        },
        getCheckboxProps: record => ({
          props: {
            disabled: record.name === 'Disabled User', // Column configuration not to be checked
            name: record.name,
          },
        }),
      };
    },
  },
  created() {
    this.getorderDetail()
    this.getAfterList()
    this.productTracking()
    this.getDetail()
    this.listFujiaFunc()
    this.listProductStatusFunc()
  },
  methods: {

    /**
     * 获取产品状态
     * @param productId 产品id
     */
    listProductStatusFunc(productId) {
      getAction(this.url.listProductStatus, {'proid': this.$route.query.product}).then(res => {
        if (res.code == 200) {
          this.ProStstus = res.result
        }
      })
    },

    /**
     * 获取已经选择的附加条件
     */
    listFujiaFunc() {
      getAction(this.url.listFujia, {
        'productid': this.$route.query.product
      }).then(res => {
        if (res.code == 0) {
          this.orderFujiaList = res.data
        }
      })
    },

    // 获取产品详情
    getDetail() {
      getAction(this.url.detail, {
        'productId': this.$route.query.product
      }).then(res => {
        if (res.code == '0') {
          this.productDetail = res.data
        }
      })
    },
    // 返回上一个界面
    goback() {
      this.$router.go(-1)
    },

    /**
     * 更新产品状态
     */
    updateProductStatusFunc() {
      getAction(this.url.updateProductStatus, {
        'productID': this.$route.query.product,
        'orderSn': this.$route.query.order,
        'status': 0,
        'name': this.updateProductStatus,
        'remark': this.proRemark,
        'wrater': this.wrater
      }).then(res => {
        if (res.code == '0') {
          this.$message.success("操作成功")
          this.productTracking()
        } else {
          this.$message.error("操作失败")
        }
      })
    },


    // 获取个订订单详情
    getorderDetail() {
      getAction(this.url.orderDetail, {
        'orderSn': this.$route.query.order
      }).then(res => {
        if (res.code == '0') {
          this.orderDetail = res.data
        }
      })
    },

    // 产品状态跟踪
    productTracking() {
      getAction(this.url.listtrackingProduct, {
        'orderSn': this.$route.query.order
      }).then(res => {
        if (res.code == '0') {
          this.productlistTracking = res.data
        }
      })
    },

    // 获取团订订单售后记录列表
    getAfterList() {
      getAction(this.url.listTeamAfter, {
        'orderSn': this.$route.query.order,
        'orderType': 0
      }).then(res => {
        if (res.code == '0') {
          this.afterlist = res.data.records
          this.pagination.total = res.data.total
          this.pagination.current = res.data.current
        }
      })
    },

    // 分页器方法
    handleTableChange(page, pageSize) {
      getAction(this.url.listTeamAfter, {
        'pageNo': page.current,
        'pageSize': page.current.pageSize,
        'orderSn': this.$route.query.order,
        'orderType': 0
      }).then(res => {
        if (res.code == '0') {
          this.afterlist = res.data.records
          this.pagination.total = res.data.total
          this.pagination.current = res.data.current
        }
      })
    },

    selectTab: function (dataStr, i) {
      this[dataStr] = i
    }
  }
}
</script>

<style scoped lang="less">
.roder-details {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  margin-top: 20px;
  padding: 20px 35px;

  .info {
    padding-top: 30px;
    padding-left: 26px;
    position: relative;
    min-height: 800px;


    .text11 {
      display: flex;
      margin-bottom: 20px;

      & > p {
        width: 100px;
        font-weight: 100;
        font-size: 14px;
        color: #333;

      }

      div {
        h5 {
          color: #333;
          font-size: 15px;
          font-weight: 500;

          display: block;
        }

        p {
          color: #333;
          font-size: 15px;
          font-weight: 100;

          display: block;
        }
      }
    }

    .title10 {
      color: #333;
      font-weight: 700;
      font-size: 16px;
      line-height: 16px;
      margin-bottom: 20px;
    }

    .text10 {
      display: flex;
      margin-bottom: 20px;

      & > p {
        width: 100px;
        font-weight: 100;
        font-size: 14px;
        color: #333;

      }

      div {
        span {
          color: #333;
          font-size: 15px;
          font-weight: 100;

          &.b {
            font-weight: 500;
          }

          display: block;
        }
      }
    }

    .table-css {
      position: relative;

      .bz {
        width: 447px;
        height: 63px;
        background: inherit;
        background-color: rgba(255, 221, 202, 1);
        position: absolute;
        right: 0px;
        top: -63px;
        display: flex;
        align-items: center;
        justify-content: center;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;

        p {
          width: 100%;
          color: rgb(251, 8, 8);
          font-size: 13px;
          padding-left: 10px;
          margin-bottom: 0px;
          line-height: 16px;
        }
      }
    }

    .btns {
      margin-top: 25px;
      margin-bottom: 60px;
      display: flex;

      .btn1 {

        border-width: 0px;
        width: 105px;
        height: 42px;
        background: inherit;
        background-color: rgba(81, 81, 81, 1);
        border: none;
        border-radius: 3px;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        font-family: 'PingFangSC-Medium', 'PingFang SC Medium', 'PingFang SC';
        font-weight: 500;
        font-style: normal;
        font-size: 13px;
        text-align: center;
        display: block;
        color: rgb(236, 227, 0);
        line-height: 40px;
        margin-right: 20px;
        cursor: pointer;
      }

      .btn2 {

        border-width: 0px;
        width: 105px;
        height: 42px;
        background: inherit;
        background-color: rgba(244, 244, 244, 1);
        border: none;
        border-radius: 3px;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        font-family: 'PingFangSC-Medium', 'PingFang SC Medium', 'PingFang SC';
        font-weight: 500;
        font-style: normal;
        font-size: 13px;
        text-align: center;
        display: block;
        color: rgb(104, 104, 104);
        line-height: 40px;
        margin-right: 20px;
        cursor: pointer;
      }
    }


    .price {
      color: rgb(38, 38, 38);
      font-size: 16px;

      span {
        color: rgb(215, 1, 1);
      }

      margin: 35px 0px;
    }

    .text1 {
      width: 533px;
      height: 105px;
      padding: 3px 2px 3px 2px;
      font-family: 'ArialMT', 'Arial';
      font-weight: 400;
      font-style: normal;
      font-size: 13px;
      text-decoration: none;
      letter-spacing: normal;
      color: #000000;
      vertical-align: none;
      text-align: left;
      text-transform: none;
      background-color: #f9f9f9;
      border-color: transparent;
      resize: none;
      outline: none;
      padding: 10px;
    }

    .tabs {
      .tab {
        margin-bottom: 10px;
        display: flex;

        h5 {
          width: 112px;
          padding: 2px 2px 2px 24px;
          background-color: rgba(249, 249, 249, 1);
          font-size: 15px;
          color: #333;
          display: flex;
          height: 36px;
          align-items: center;
          margin: 0px !important;
          margin-right: 6px !important;
        }

        .tab-content {
          height: 36px;
          display: flex;

          p {
            border: 1px solid rgb(242, 242, 242);
            min-width: 100px;
            height: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 15px;
            color: #333;
            font-size: 15px;
            margin-right: 6px;

            cursor: pointer;

            b {
              display: none;
              font-weight: 700;
            }

            &.active {
              color: rgb(255, 236, 112);
              font-weight: 700;
              background-color: rgb(74, 74, 74);
            }

            &:hover {
              b {
                display: block;
              }

              span {
                display: none;
              }
            }
          }
        }
      }
    }

    h3.title {
      height: 30px;
      line-height: 30px;
      position: relative;
      font-size: 16px;
      color: #333;
      font-weight: 700;
      margin-bottom: 25px;

      &:after {
        position: absolute;
        height: 100%;
        width: 5px;
        position: absolute;
        left: -25px;
        top: 0px;
        background-color: rgba(74, 74, 74, 1);
        content: "";
      }
    }

    .title2 {
      width: 112px;
      padding: 2px 2px 2px 24px;
      font-size: 15px;
      color: #333;
      display: flex;
      height: 36px;
      align-items: center;
      margin: 0px !important;
      margin-bottom: 10px !important;
    }

    .list {
      margin-bottom: 20px;

      .list-div {
        display: flex;
        flex-wrap: wrap;

        div {
          width: 33.3%;
          display: flex;
          height: 36px;
          align-items: center;

          p {
            width: 112px;
            padding: 2px 2px 2px 24px;
            background-color: rgba(249, 249, 249, 1);
            font-size: 15px;
            color: #333;
            display: flex;
            height: 36px;
            align-items: center;
            margin: 0px !important;
          }

          span {
            width: calc(100% - 112px);
            padding: 2px 2px 2px 24px;
            font-size: 15px;
            color: #333;
            display: flex;
            height: 36px;
            align-items: center;

            &.b {
              font-weight: 700;
            }
          }
        }
      }
    }
  }
}

.b3 {
  background-color: rgba(242, 242, 242, 1);
  width: 90px;
  height: 36px;
  color: #444;
  font-size: 15px;
  line-height: 36px;
  text-align: center;
  display: block;
}
</style>
